An Experiment Measuring the Effects of Maintenance Tasks on Program Knowledge

نویسندگان

  • Alistair Hutton
  • Ray Welland
چکیده

Objective: To ascertain whether programmers gain more knowledge about an unfamiliar program by enhancing the code or documenting the code. The context of this work was investigating whether maintenance programmers faced with an unfamiliar system should start by actively working on the system or spend time passively exploring the system before attempting to make changes. Method: We designed a laboratory experiment where subjects initially either enhanced or documented a program and then we measured how they performed when carrying out a further task on the given code. Our hypothesis was that programmers would gain more knowledge performing one of the two tasks. The experiment was repeated three times with different groups of students, all at the same stage of their education. Results: There was no significant difference between the performance of the two groups who had performed different initial tasks. However, there was a strong correlation between performance in the measured task and the students’ programming ability, as measured by a previous academic assessment. As not all subjects completed the measured task within the given time, we needed to use Kaplan-Meier survival curves and the Cox Proportional Hazard Model to analyse our data. Detailed inspection of the code produced during the experiment revealed some interesting qualitative results. Conclusions: We were unable to show a significant difference between the value of enhancing or documenting code as a way of gaining knowledge about unfamiliar programs. In the context of software maintenance this means that there is no advantage in spending unproductive time documenting code to gain knowledge.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Effects of Collaborative and Individual Output Tasks on Learning English Collocations

  One of the most problematic areas in foreign language learning is collocation. It is often seen as arbitrary and an overwhelming obstacle to the achievement of nativelike fluency. Current second language (L2) instruction research has encouraged the use of collaborative output tasks in L2 classrooms. This study examined the effects of two types of output tasks (editing and cloze) on the learni...

متن کامل

The Impact of Decision-making Tasks and Production Tasks On the Collocational Knowledge of Iranian Intermediate EFL Learners

The current study is an attempt to investigate the impact of decision-making (selecting and matching) tasks and production (creation of sentences and completion of sentences) tasks on the collocational knowledge of Iranian intermediate EFL learners. To this end, sixty EFL learners were divided into two experimental (decision-making and production) groups. To determine the effects of the tasks, ...

متن کامل

The effect of self care program education through group discussion method on knowledge and practice in diabetic adolescent girls referring to Iranian Diabetes Society

Introduction: Diabetes is a chronic illness which needs specific self care behaviors to the end of life. On the other hand, studies have shown that improvement in knowledge and practice of diabetic patients brings about improvement of metabolic status for which self care education specially with active method (active involvement of diabetic patients) is necessary. So, this study has been conduc...

متن کامل

The Effect of an Educational Package on Nutritional Knowledge, Attitude, and Behavior of Pregnant Women

Introduction: Adequate nutrition is an important part of a healthy pregnancy and nutrition education can play an important role in improving the health of the mother and her child. The aim of this study was to determine the effect of an educational package on nutritional knowledge, attitude, and behavior of pregnant women. Methods: : In this quasi-experimental study, 88 women of 8-14 weeks of ...

متن کامل

Effects of Structured Input and Meaningful Output on EFL Learners' Acquisition of Nominal Clauses

The current second language (L2) instruction research has raised great motivation for the use of both processing instruction and meaningful output instruction tasks in L2 classrooms as the two focus-on-form (FonF) instructional tasks. The present study investigated the effect of structured input tasks (represented by referential and affective tasks) compared with meaningful output tasks (implem...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007